package com.study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * http://172.22.162.206:8040/user-path/simple/1
 * 
 * spring-cloud-netflix-zuul.jar中的filters包中有各种过滤器
 * 
 * 禁用某个filter：zuul.类名.filterType.disable=true
 */
@SpringBootApplication
//组合注解：注册到erueka：@EnableEurekaClient    所有请求子hystrix-command中执行：@EnableCircuitBreaker
@EnableZuulProxy
public class ZuulFilterApp {
	
	public static void main(String[] args) {
		SpringApplication application = new SpringApplication(ZuulFilterApp.class);
		ConfigurableApplicationContext context = application.run(args);
		
		
		System.out.println("============end=======================");
	}

}
